package com.example.service;

import java.util.List;
import com.example.domain.FoodManagement;

/**
 * 菜品汇总Service接口
 * 
 * @author 何曼伶
 * @date 2024-09-13
 */
public interface IFoodManagementService 
{
    /**
     * 查询菜品汇总
     * 
     * @param id 菜品汇总主键
     * @return 菜品汇总
     */
    public FoodManagement selectFoodManagementById(Long id);

    /**
     * 查询菜品汇总列表
     * 
     * @param foodManagement 菜品汇总
     * @return 菜品汇总集合
     */
    public List<FoodManagement> selectFoodManagementList(FoodManagement foodManagement);

    /**
     * 新增菜品汇总
     * 
     * @param foodManagement 菜品汇总
     * @return 结果
     */
    public int insertFoodManagement(FoodManagement foodManagement);

    /**
     * 修改菜品汇总
     * 
     * @param foodManagement 菜品汇总
     * @return 结果
     */
    public int updateFoodManagement(FoodManagement foodManagement);

    /**
     * 批量删除菜品汇总
     * 
     * @param ids 需要删除的菜品汇总主键集合
     * @return 结果
     */
    public int deleteFoodManagementByIds(Long[] ids);

    /**
     * 删除菜品汇总信息
     * 
     * @param id 菜品汇总主键
     * @return 结果
     */
    public int deleteFoodManagementById(Long id);
}
